package com.xmy.cultivate.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xmy.cultivate.entity.EnrollSchoolMember;
import com.xmy.cultivate.mapper.EnrollSchoolMemberMapper;
import com.xmy.cultivate.service.IEnrollSchoolMemberService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.time.LocalDate;
import java.util.List;

@Service
public class EnrollSchoolMemberServiceImpl extends ServiceImpl<EnrollSchoolMemberMapper, EnrollSchoolMember> implements IEnrollSchoolMemberService {

    @Autowired
    EnrollSchoolMemberMapper enrollSchoolMemberMapper;

    @Override
    public String getAtCount(Long id, Long studentId, LocalDate endDate){
        return  enrollSchoolMemberMapper.getAtCount(id,studentId,endDate);
    }
}
